package com.zr.planClass.controller;

import com.zr.planClass.model.baojia.BaoJiaVo;
import com.zr.planClass.model.legalandperson.LegalPerson;
import com.zr.planClass.service.BaoJiaService;
import com.zr.util.ResultBuilderVo;
import com.zr.util.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * Created by 非常狂躁的猪 on 2019/12/31.
 */
@RestController
@CrossOrigin
public class BaoJiaLieBiaoController {

    @Autowired
    private BaoJiaService baoJiaService;


    @PostMapping("quotationList/searchPre")   //分页接口
    public ResultVo quotationList(@RequestBody BaoJiaVo baoJiaVo){

        ResultVo resultVo = baoJiaService.queryAll(baoJiaVo);
        return resultVo;
    }

    @PostMapping("quotationSheet/search")
    public ResultVo quotationSheetSearch(){
        System.out.println("123456789");
        return null;

    }

    @PostMapping("baocunjiekou")
    public ResultVo baoCunJieKou(){

        return null;
    }



}
